﻿@model VMC.Domain.Model.Account.ChangePassword

@{
    ViewBag.Title = "Change Password";
}

<!--<h2>ChangePassword</h2>-->

@VMCHelper.WideTextInput()
<div class="one-third">
@using (Html.BeginForm()) {
    

    <fieldset class="border">
        <!--<legend>ChangePassword</legend>-->
		<table  class="input-form-table wide-table">
		<tr >
			<td  colspan="2"> @Html.ValidationSummary(true)</td>
		</tr>
        <tr >
		 <td class="editor-label" >
            @Html.LabelFor(model => model.OldPassword) 
		</td>
        <td class="editor-field" >
            @Html.EditorFor(model => model.OldPassword)
		</td>
		</tr>
		<tr  class="validation-error">
            <td  colspan="2" > @Html.ValidationMessageFor(model => model.OldPassword) </td>
		</tr>
        
        <tr >
		 <td class="editor-label" >
            @Html.LabelFor(model => model.NewPassword) 
		</td>
        <td class="editor-field" >
            @Html.EditorFor(model => model.NewPassword)
		</td>
		</tr>
		<tr  class="validation-error">
            <td  colspan="2" > @Html.ValidationMessageFor(model => model.NewPassword) </td>
		</tr>
        
        <tr >
		 <td class="editor-label" >
            @Html.LabelFor(model => model.ConfirmPassword) 
		</td>
        <td class="editor-field" >
            @Html.EditorFor(model => model.ConfirmPassword)
		</td>
		</tr>
		<tr  class="validation-error">
            <td  colspan="2" > @Html.ValidationMessageFor(model => model.ConfirmPassword) </td>
		</tr>
        
        <tr  class="submit-button">
            <td  colspan="2">  <input type="submit" icon-class="action-icon-password" value="Save Password" /> </td>
		</tr>
        
	</table>
    </fieldset>
}
</div>

